package com.gengzp.common.model.serviceGovernance.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @ClassName ServiceHealthyInstanceDto
 * @Description 服务健康实例dto
 * @Author gengzp
 * @Date 2025/10/14 11:42
 */
@Data
@ApiModel("服务健康实例dto")
public class ServiceHealthyInstanceDto implements Serializable {

    @Serial
    private static final long serialVersionUID = -4624208147321915877L;

    /**
     * 完整服务地址 (ip:端口号)
     */
    @ApiModelProperty("服务地址 (ip:端口号)")
    private String serviceAddress;

    /**
     * 注册ip类型
     * {@link com.gengzp.rpc.enums.RpcServiceRegisterIpTypeEnum}
     */
    @ApiModelProperty("注册ip类型")
    private String registerIpType;

    /**
     * 注册ip类型枚举值
     */
    @ApiModelProperty("注册ip类型枚举值")
    private String registerIpTypeValue;

}
